//
//  AppDelegate.h
//  WGFGlobalHouses
//
//  Created by waiguofang on 15/4/16.
//  Copyright (c) 2015年 waiguofang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MessageModel.h"


@protocol MessageDelegate <NSObject>

@optional

- (void) messageReceived:(MessageModel *)msg;
@end

@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;
@property (nonatomic,assign) Boolean isPlayMov;
@property(nonatomic,assign) id<MessageDelegate> delegate;


+(AppDelegate *)sharedAppDelegate;

-(void)goToLogin;

@end

